/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {

  const { controller, router } = app;


  router.get('用户中心路由初始化', '/userManage/init', controller.home.init);

  require('./router/user')(app);

  require('./router/role')(app);

  require('./router/permission')(app);

  require('./router/address')(app);

  require('./router/relationship')(app);
};
